//
//  ShopCarBottomView.h
//  Mall
//
//  Created by 孙飞燕 on 16/10/13.
//  Copyright © 2016年 孙飞燕. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ShoppingCarBottomModel;
@class ShopCarBottomView;
@protocol ShopCarBottomViewDelegate <NSObject>

- (void)shopCarBottomViewDelegate:(UIButton *)allSelectBtn withView:(ShopCarBottomView *)view;

@end


@interface ShopCarBottomView : UIView

@property (nonatomic,strong)ShoppingCarBottomModel *bottomModel;
@property (nonatomic,strong)UIButton *allSelectBtn; //全选按钮
@property (nonatomic,strong)UILabel *resultPrice;//总价label
//@property (nonatomic,strong)void(^settleBlock)();
@property (nonatomic,assign)id<ShopCarBottomViewDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame withModel:(ShoppingCarBottomModel *)bottomModel; //初始化方法
@end
